<div>myc06-ngswitch works!</div>

<h3>指令: [ngSwitch]</h3>


<div [ngSwitch]="userLevel">
  <div *ngSwitchCase="'normal'">hi normal</div>
  <div *ngSwitchCase="'vip'">hi vip</div>
  <div *ngSwitchCase="'blackgod'">hi blackgod</div> 
  <div *ngSwitchDefault>hi !!!</div>
</div>













<hr>